package com.bdqn.design;

import com.bdqn.design.singleton.Singleton01;

/**
 * Test08Singleton
 *
 * @author LILIBO
 * @since 2024/7/6
 */
public class TestSingleton01 {

    public static void main(String[] args) {
        Singleton01 singleton1 = Singleton01.getInstance();
        System.out.println(singleton1);
        Singleton01 singleton2 = Singleton01.getInstance();
        System.out.println(singleton2);
        System.out.println(singleton1 == singleton2);
    }

}
